package cn.edu.ujn.service;

import java.util.List;

import cn.edu.ujn.dao.User;

import cn.edu.ujn.dao.User;

public interface IUserService {
	
	 User findUser(String userCode,String password);
	
	 int creatUser(User user);
	 int creatUser2(User user);
           
	 int deleteUser(Integer id);
	 
	 int update(User user );
	 
	 User selectById(Integer id);
	 
	 List<User> findAllUser();
	 
	 List<User> findUserByType(String userCode, String userName,String userAuthority,String gender,String userState);

	 User selectByCode(String code);


}
